
<template>
  <div>
    newsinfo --- {{id}}
  </div>
</template>

<script>
  // import Router from 'vue-router'

export default {
  
  data(){
    return{
      id:null
    }
  },
  created(){
    this.getId()
  },
  methods:{
    getId(){
      this.id = this.$route.params.id
    }
  }
}
</script>

<style lang="less" scoped>

  
</style>